Skip to content

Document Bits Code organization env vars - #39722

Open
Vyncentddog wants to merge 1 commit into
masterfrom
dd/docs-agent/bits-code-org-env-vars-20260903
Open

Document Bits Code organization env vars#39722
Vyncentddog wants to merge 1 commit into
masterfrom
dd/docs-agent/bits-code-org-env-vars-20260903

Conversation

@Vyncentddog

Copy link
Copy Markdown

What does this PR do? What is the motivation?

Documents organization-level environment variables and secrets for Bits Code repository environments, so users know they can define values once for the whole organization instead of repeating them per repository. Also documents how repository environments override or opt out of inherited values, and that testing a setup command requires write access to the selected repository.

Source PRs:

Changes in hugo/content/en/bits_ai/bits_code/setup.md, under Environment setup > Configure repository environment:

  • Added a Configure organization environment variables and secrets subsection covering inheritance, availability during setup versus Bits Code execution, opt-out and restore behavior, naming requirements, behavior when a repository has no setup command, and the permissions required to manage the configuration.
  • Noted in the repository environment steps that a repository value replaces the organization value with the same name.
  • Clarified that running the setup command to test it requires write access to the selected repository.

Testing

Reviewed the rendered Markdown structure, heading level, anchor link target, and reference-style link IDs for consistency with the rest of the page.

Merge readiness

  • Ready for merge

For Datadog employees:

  • ⚠️ Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). If you've already created your PR with an incorrect branch name, please rename your branch and open a fresh PR.
  • 🤖 New: Comment with /review to run an automated check that catches common issues before a Documentation team member reviews your PR.

AI assistance

Drafted with Bits Code, then reviewed for style and consistency with the existing page.

Additional notes


PR by Bits - View session in Datadog

Comment @DataDog to request changes

@Vyncentddog
Vyncentddog requested a review from a team as a code owner September 3, 2026 19:17
@datadog-official

Copy link
Copy Markdown
Contributor

View session in Datadog

Bits Code status: ✅ Done

CI Auto-fix: Disabled | Enable

Comment @DataDog to request changes

@datadog-official

Copy link
Copy Markdown
Contributor

I can only run on private repositories.

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Preview links (active after the build_preview check completes)

Modified Files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants